/**
 * Created by chaoCheng on 2017/1/13.
 */
function GroupModel($http, API, $resource) {
    var transforms = $http.defaults.transformResponse
    this.actions = {}

    //查询播放分组
    this.actions.searchGroup = {
        method: 'POST',
        url: API + '/playPlanContoller/groupList',
       // isArray:true,//当后台返回数组时需要这个参数
    }

    var Model = $resource.call(this, this.url, this.params, this.actions)

    return Model
}
